FROM node:latest
RUN mkdir /home/jinmi
ADD . /home/jinmi
WORKDIR /home/jinmi
RUN npm i -g pnpm --registry=https://registry.npmmirror.com
RUN pnpm i --registry=https://registry.npmmirror.com
RUN pnpm run init
CMD [ "./node_modules/.bin/esno", "src/main.ts" ]
